<%= javascript_include_tag "util" %>
<h1>部门管理 - <span id="secondHeading">客户负责表</span></h1>
<TABLE border="0" id="LIST_TB">
	<TR id="LIST_TB_TITLE">
	    <td>代理商</td>
	    <td>负责人</td>
	    <td>电话</td>
	    <td>手机</td>
	    <td>传真</td>
	    <td>电子邮件</td>
	    <td>地址</td>
	 </TR>
	 <%currentEmployee = ''%>
  	<%@agents.each do |agent|%>
  <TR id="LIST_TB_CONTENT1">
    <td><%=agent.name%></td>
    <td><%=agent.person%></td>
    <td><%=agent.phone%></td>
    <td><%=agent.mobile%></td>
    <td><%=agent.fax%></td>
    <td><%=agent.email%></td>
    <td><%=agent.address1%></td>
  </TR>
   <%end%>
</table>
<table>
        <tr>
                <td>
                        <input type="button" value="打印当前页" class="sub" onclick="openPrintWindow('LIST_TB')"/>
                        <input type="button" value="导出当前数据" class="sub" onclick="CellAreaExcel('LIST_TB')"/>
                </td>
        </tr>
</table>
